//
//  UIBarButtonItem+CZAddition.h
//  PerfectLife
//
//  Created by zxy on 2018/12/4.
//  Copyright © 2018 zssh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIBarButtonItem (CZAddition)

/**
 设置UIBarButtonItem按钮图片

 @param itemImageName item图片名称
 @param target self
 @param selector item事件方法
 @return UIBarButtonItem
 */
+(UIBarButtonItem *)setupNavigationItemImageName:(NSString *)itemImageName target:(id)target action:(SEL)selector;


/**
 设置UIBarButtonItem标题

 @param title 标题
 @param target self
 @param selector 方法
 @return UIBarButtonItem
 */
+(UIBarButtonItem *)setupNavigationItemTitle:(NSString *)title target:(id)target action:(SEL)selector;
@end

NS_ASSUME_NONNULL_END
